package com.bree.erp.service;

import java.util.Date;
import java.util.List;

import com.bree.erp.entity.PartUnit;
import com.bree.erp.entity.Project;
import com.bree.erp.entity.Returns;
import com.bree.erp.entity.User;
import com.bree.erp.entity.Warehouse;

public interface ReturnsService {

	Returns create(Date entryDate, Project project, Warehouse warehouse, PartUnit partUnit, double quantity, String location, User user);
	Returns create(Date entryDate, Long project, String warehouse, Long partUnit, double quantity, String location, String user);
	Returns read(Long id);
	Returns update(Long id, Date entryDate, double quantity, String location, String remarks, String userId);
	void delete(Long id);
	List<Returns> listPerPartUnit(Long partUnitId);
}
